Skip to content

Conversation

@AyushBherwani1998
Copy link
Member

@AyushBherwani1998 AyushBherwani1998 commented Dec 4, 2025

Description


Note

Upgrades template dependencies (Smart Accounts Kit v0.2.0, Next 15.4.8) and adds proper chain mismatch handling to the Advanced Permissions flow.

  • Templates (Next.js + Vite React):
    • Bump @metamask/smart-accounts-kit to ^0.2.0 across all templates.
    • Upgrade Next.js templates to next@15.4.8 and eslint-config-next@15.4.8.
  • Advanced Permissions Starter:
    • Update src/components/ConnectButton.tsx to detect chain mismatch and show a Switch Chain action using wagmi (useAccount, useChainId, useSwitchChain).
    • Update src/components/Steps.tsx to gate step 2 on matching chain (connectedChainId === currentChainId) and adjust effect deps; update docs link path.

Written by Cursor Bugbot for commit b99e76a. This will update automatically on new commits. Configure here.

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners December 4, 2025 06:02
Copy link
Contributor

@jeffsmale90 jeffsmale90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's go!

@AyushBherwani1998 AyushBherwani1998 merged commit 798b54d into main Dec 5, 2025
13 checks passed
@AyushBherwani1998 AyushBherwani1998 deleted the update-templates branch December 5, 2025 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants